package com.youlai.boot.system.model.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
@HeadStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)//表头字体样式
public class LJOrderExcelVO {
    /**
     * 订单编号
     */
    @ExcelProperty(index = 0)
    private String cgdd;

    /**
     * 合同号
     */
    @ExcelProperty(index = 1)
    private String xsdd;

    /**
     * 识别号
     */
    @ExcelProperty(index = 2)
    private String wl;

    /**
     * 名称规格
     */
    @ExcelProperty(index = 3)
    private String ms;

    /**
     * 图号
     */
    @ExcelProperty(index = 4)
    private String thbb;

    /**
     * 特征值
     */
    @ExcelProperty(index = 5)
    private String tz;

    /**
     * 数量
     */
    @ExcelProperty(index = 6)
    private String sl;

    /**
     * 单位
     */
    @ExcelProperty(index = 7)
    private String dw;

    /**
     * 交货日期
     */
    @ExcelProperty(index = 10)
    private String jhrq;

    /**
     * 备注
     */
    @ExcelProperty(index = 11)
    private String remark;
}
